package com.ruoyi.carowner.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.driver.domain.CarownerDetials;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 兑换记录对象 carowner_km_log
 *
 * @author ruoyi
 * @date 2024-08-17
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CarownerKmLog extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 兑换记录id
     */
    @Excel(name = "兑换记录id")
    private Integer id;

    /**
     * 兑换数
     */
    @Excel(name = "兑换数")
    private Double km;

    /**
     * 兑换时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "兑换时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date extime;

    /**
     * 用户id
     */
    @Excel(name = "用户id")
    private Integer userId;

    /**
     * 0正常，1删除
     */
    private Integer del;

    private CarownerDetials carownerDetials;
}
